package com.example.h5shell.utils;

import android.widget.Toast;
import android.content.Context;

/**
 * desc: toast的展示
 * use: ToastHelper.show(this, "data")
 */
public class ToastHelper {


    public static void show(Context content, CharSequence text) {
        Toast toast = Toast.makeText(content, text, Toast.LENGTH_SHORT);
        toast.show();
    }

}
